package com.lyl.anno.base;

import lombok.extern.slf4j.Slf4j;

import java.util.Arrays;

/**
 * @author Mr.Luo
 * @date 2022-07-26 09:57
 * @desc
 */
@Slf4j
public class IpFilter extends PipeLine{


    @Override
    public void initialize(String[] params) {
        log.info("方法名: IpFilter.initialize,  请求参数: params = [" + params + "]");
        System.out.println("params = " + params);
        System.out.println("Arrays.asList(params).toString() = " + Arrays.asList(params));
    }

    @Override
    public boolean doFilter() {
        log.info("方法名: doFilter");
        return true;
    }
}
